<template>
 <div class="header">
   <div class="header-back">
     <span class="iconfont">&#xeb15;</span>
   </div>
   <div class="header-search">
    <span class="iconfont">&#xe6a1;</span>
    上海南昌海洋公园
   </div>
   <div class="header-city">北京
     <span class="iconfont">&#xe600;</span>
   </div>
 </div>
</template>

<script>
export default {
  name: 'homeHeader'
  
}
</script>


<style lang="css" scoped>
.header{
  line-height:.88rem;
  text-align:center;
  display: flex;
  }
.header .header-back{
  float: left;
  width: .9rem;
}
.header .header-search{
  flex: 1;
  height: 0.6rem;
  margin-top: .14rem;
  margin-right: .2rem;
  margin-left: .2rem;
  border-radius: .5rem;
  line-height: .6rem;
  box-shadow: 0 0 .01rem .02rem #ccc;
}
.header .header-city{
  float: right;
  width: 1.4rem;
}

</style>
